<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="icon" href="../../favicon.ico">

    <title>CUSRES Application</title>

    <!-- Bootstrap core CSS -->
    <?php 
        echo $this->Html->css('bootstrap.min');
        echo $this->Html->css('dashboard');
        echo $this->Html->css('general');
        
        echo $this->fetch('css');
    ?>

  </head>
    <body>
      <div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
        <div class="container-fluid">
          <div class="navbar-header">
            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
              <span class="sr-only">Toggle navigation</span>
              <span class="icon-bar"></span>
              <span class="icon-bar"></span>
              <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="#">CUSRES Application</a>
          </div>
          <div class="navbar-collapse collapse">
            <ul class="nav navbar-nav navbar-right">
                <li><?php echo $this->Html->link('Logout', array('controller' => 'users', 'action' => 'logout')); ?></li>
<!--              <li><a href="#">Dashboard</a></li>
              <li><a href="#">Settings</a></li>
              <li><a href="#">Profile</a></li>
              <li><a href="#">Help</a></li>-->
            </ul>
<!--            <form class="navbar-form navbar-right">
              <input type="text" class="form-control" placeholder="Search...">
            </form>-->
          </div>
        </div>
      </div>
      
      <div class="container-fluid">
        <div class="row">
          <div class="col-sm-3 col-md-2 sidebar">
            <ul class="nav nav-sidebar">
              <li><?php echo $this->Html->link('Import', array('controller' => 'import', 'action' => 'index')); ?></li>
              <li><?php echo $this->Html->link('Data PIB', array('controller' => 'pibs', 'action' => 'index')); ?></li>
              <li><?php echo $this->Html->link('Report', array('controller' => 'reports', 'action' => 'index')); ?></li>
            </ul>
          </div>
          <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
            <h1 class="page-header">Dashboard</h1>
            <div class="row placeholders">
                <?php echo $this->Session->flash(); ?>
                
                <?php echo $this->fetch('content'); ?>
            </div>
          </div>
        </div>
      </div>
      
      <?php
        echo $this->Html->script('jquery-1.11.1.min');
        echo $this->Html->script('bootstrap.min');
        echo $this->Html->script('docs.min');
        
        echo $this->fetch('script');
      ?>
    </body>
</html>